<template>
  <div id="app">
    <MyPage :bullets="bullet" :top="200" :left="520"></MyPage>
    <BUTTON @click="click">asdsd</BUTTON>
<!--    <router-view/>-->
  </div>
</template>

<script>
  import MyPage from "./components/MyPage";

export default {
  name: 'App',
  data(){
    return {
      bullet: {}
    }
  },
  methods: {
    click(){
      this.bullet = {frequency: 0, msglist: ['asd', 'sdfsfdgdfg', 'fgfhgth24', '44454']}
      this.bullet.msglist.push('asdsf111')
    }
  },
  components: {
    MyPage
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
